//
//  CLPActionPerformer.h
//  ComponentLinkDemo
//
//  Created by zhenby on 2017/2/24.
//  Copyright © 2017年 zhenby. All rights reserved.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@class CLActionEvent;

@protocol CLPActionPerformer <NSObject>

@optional
//广播事件
- (void)postActionEvent:(nonnull CLActionEvent *)action;
//获取服务事件
- (nullable NSDictionary*)performActionEvent:(nonnull CLActionEvent*)action;
//提供服务事件处理
- (nullable NSDictionary*)actionServiceWithEvent:(nonnull CLActionEvent*)action;

@end

NS_ASSUME_NONNULL_END
